#ifndef _SHELL_GANGBEAN_BEAN_H_
#define _SHELL_GANGBEAN_BEAN_H_

#include "Beans.h"
#include "Message.h"
#include <vector>
using namespace std;
class GangBean : public Bean
{
	public:
	GangBean();
	~GangBean();
	void reset();
	GangBean* clone();
	//帮会名称
	string gangName;
	//帮会等级
	int8 gangLevel;
	//帮会当前经验
	int32 gangExp;
	//入帮所需战力
	int32 rubangForce;
	//战旗数量
	int32 zhanqiNum;
	//名门剩余挑战次数
	int8 mingmenFightNum;
	//已宣战名门sid，0标示没有
	int32 mingmenMapSid;
	//帮会公告
	string noticeText;
	//帮会成员

	vector<MemberBean*> members;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
